import React from 'react'
// import store from '../../store'
// import {
//   minus,
//   add,
//   asyncAdd,
//   asyncGetChannels
// } from '../../store/actionCreator'

export default function CompA () {
  return (
    <div>
      CompA
      {/* <p>
        <button
          onClick={() => {
            store.dispatch(minus(2))
          }}
        >
          -2
        </button>
        &nbsp;&nbsp;
        <button onClick={() => store.dispatch(add(4))}>+4</button>
      </p>
      <p>
        <button onClick={() => store.dispatch(asyncAdd(3))}>异步的+3</button>
      </p>
      <p>
        <button onClick={() => store.dispatch(asyncGetChannels())}>
          获取频道列表数据
        </button>
      </p> */}
    </div>
  )
}
